package com.audaque.springboot.foshanupload.web.websocketdemo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zgb
 * @desc ...
 * @date 2023-07-26 20:40:20
 */
@Controller
@RequestMapping("testFtl")
@Log4j2
@Api(hidden = true)
public class TestFtlController {
    @RequestMapping("/book")
    @ApiOperation(value = "测试", hidden = true)
    public String toBookIndexPage(ModelMap model) {
        log.debug("进来啦！！！");
        model.put("name", "浩哥");
        return "book";
    }
}
